//
//  HR_Touch_CustomCell.m
//  Pods
//
//  Created by duanhuifen on 2017/7/24.
//
//

#import "HR_Touch_CustomCell.h"

@interface HR_Touch_CustomCell ()
@property(nonatomic,strong)UIImageView * headerImageView;  //头像
@property (nonatomic,strong) UILabel *detailLab;//详情
@end
@implementation HR_Touch_CustomCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self)
    {
        self.headerImageView=[[UIImageView alloc]initWithFrame:CGRectMake(10,0, 25, 25)];
        self.headerImageView.image=[UIImage imageNamed:@"引导页1"];
        [self.contentView addSubview:self.headerImageView];
        
        self.detailLab = [[UILabel alloc] initWithFrame:CGRectMake(CGRectGetMaxX(self.headerImageView.frame) + 10, 0, self.bounds.size.width - (CGRectGetMaxX(self.headerImageView.frame) + 10), self.bounds.size.height)];
        self.detailLab.text = @"hfjkskjf";
        self.detailLab.textAlignment = NSTextAlignmentCenter;
        self.detailLab.font = [UIFont systemFontOfSize:14];
        self.detailLab.textColor = [UIColor darkGrayColor];
        [self.contentView addSubview:self.detailLab];
    }
    
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
